<script setup lang="ts">
import myView from './packages/view/index.vue'
defineOptions({
  name: 'App',
})
</script>

<template>
  <div>
    <myView
      :eye="true"
      @next="
        () => {
          console.log('next')
        }
      "
      @prev="
        () => {
          console.log('prev')
        }
      "
      @open="
        () => {
          console.log('open')
        }
      "
      @close="
        () => {
          console.log('close')
        }
      "
    >
      <img src="./assets/src1.png" alt="" style="z-index: 10" />
      <img src="./assets/src2.png" alt="" />
      <img src="./assets/src3.png" alt="" />
    </myView>
  </div>
</template>

<style scoped></style>
